<template>
  <ElRadioGroup>
    <ElRadio
      v-for="item in options"
      :key="item.value"
      :value="item.value"
      :disabled="item.disabled"
      >{{ item.label }}</ElRadio
    >
  </ElRadioGroup>
</template>
<script lang="ts" setup>
defineProps<{
  options: {
    label: string;
    value: string | number;
    disabled?: boolean;
  }[];
}>();

defineOptions({
  name: "FormRadioGroup",
  inheritAttrs: true,
});
</script>
